package com.android.infantschool.bean;

import java.util.Arrays;
import java.util.List;

/**
 * @author Administrator
 * @particulars
 * @time 2019\7\8 0008 9:03
 * @class describe
 */
public class BabyRemarkBean extends BaseBean {

    /**
     * code : 0
     * msg :
     * count : 8
     * data : [{"id":1,"babyName":"学生甲","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192","status":0},{"id":2,"babyName":"学生乙","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192","status":0},{"id":3,"babyName":"王小明","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192","status":0},{"id":4,"babyName":"张三","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192","status":0},{"id":5,"babyName":"李四","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192","status":0},{"id":12,"babyName":"ge","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192","status":0},{"id":13,"babyName":"Ho","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192","status":0},{"id":14,"babyName":"Ho","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192","status":0}]
     */

    private int code;
    private String msg;
    private int count;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * babyName : 学生甲
         * img : http://pubgwqeja.bkt.clouddn.com/615640161503192
         * status : 0
         */

        private int id;
        private String babyName;
        private String img;
        private int status;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getBabyName() {
            return babyName;
        }

        public void setBabyName(String babyName) {
            this.babyName = babyName;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", babyName='" + babyName + '\'' +
                    ", img='" + img + '\'' +
                    ", status=" + status +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "BabyRemarkBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", count=" + count +
                ", data=" + Arrays.toString(data.toArray()) +
                '}';
    }
}